package string;

import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;

public class InfiniteRecursion {
	public String  toString(){
		return "InfiniteRecursion address:"+super.toString()+"\n";
	}
	public static void main(String[] args) {
		List<InfiniteRecursion>list=new ArrayList<>();
		for(int i=0;i<10;i++){
			list.add(new InfiniteRecursion());
		}
		System.out.println(list);
		Pattern.compile("");
	}
}
